<?php
include_once 'classes/cliente.php';
include_once 'classes/endereco.php';
include_once 'classes/locacao.php';

$separador = "";
foreach (array_keys(get_class_vars("Locacao")) as $atributo) {
	if ($atributo == "cliente" || $atributo == "automovel") {
		continue;
	}
	echo $separador . "\$locacao->set_$atributo(\$_REQUEST[\"$atributo\"]);";
	$separador = "<br/>";
}
?>